package com.college_career_system.utils;


import com.college_career_system.pojo.po.*;
import com.college_career_system.pojo.vo.RecruitVO;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import org.mapstruct.factory.Mappers;


/**
 * @author feizhu
 */
@Mapper
public interface PoVoMapper {

    PoVoMapper INSTANCE = Mappers.getMapper(PoVoMapper.class);

    @Mapping(target = "enterpriseId", ignore = true)
    @Mapping(target = "enterpriseName", ignore = true)
    RecruitVO toRecruitVO(Recruit recruit);
}
